package com.aabbc.user.facade.impl;

import com.aabbc.user.entity.UserInfo;
import com.aabbc.user.facade.IUserInfoFacade;
import com.aabbc.user.service.IUserInfoService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * UserInfoFacadeImpl
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2019-12-16 11:39
 * @blame Team
 */
@Component
@Service(interfaceClass = IUserInfoFacade.class, version = "1.0.0")
public class UserInfoFacadeImpl implements IUserInfoFacade {

    @Autowired
    IUserInfoService userInfoService;

    @Override
    public List<UserInfo> queryUserInfoList() {
        return userInfoService.list();
    }
}
